package com.hemaapp.yjnh.bean;

import java.io.Serializable;

import org.json.JSONException;
import org.json.JSONObject;

import xtom.frame.XtomObject;
import xtom.frame.exception.DataParseException;

/**提交订单后，返回的订单号和金额
 *
 */
public class SubOrder extends XtomObject implements Serializable {

	private static final long serialVersionUID = 1L;

	private String bill_ids;// 订单id（多个用逗号分隔）	支付时传递
	private String total_fee;// 订单总金额	支付时传递

	public SubOrder() {
		
	}

	public SubOrder(JSONObject jsonObject) throws DataParseException {
		if (jsonObject != null) {
			try {
				bill_ids = get(jsonObject, "bill_ids");
				total_fee = get(jsonObject, "total_fee");

				log_i(toString());
			} catch (JSONException e) {
				throw new DataParseException(e);
			}
		}
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getBill_ids() {
		return bill_ids;
	}

	public void setBill_ids(String bill_ids) {
		this.bill_ids = bill_ids;
	}

	public void setTotal_fee(String total_fee) {
		this.total_fee = total_fee;
	}

	public String getTotal_fee() {
		return total_fee;
	}


}
